<jsp:include page="../layout/header.jsp" flush="true" />
<div class="container">

      <form class="form-signin" action="/user?action=login" method='post'>
        <h2 class="form-signin-heading">Please log in</h2>
        <%if(request.getAttribute("error")!=null){ %>
        <div class="alert alert-error">Wrong username and/or password</div>
        <% }%>
        <input type="text" class="input-block-level" placeholder="Username" name='username'>
        <input type="password" class="input-block-level" placeholder="Password" name='password'>
        <label class="checkbox">
          <!--<input type="checkbox" value="remember-me"> Remember me  -->
        </label>
        <button class="btn btn-large btn-primary" type="submit">Log in</button>
      </form>

    </div> <!-- /container -->

<jsp:include page="../layout/footer.jsp" flush="true" />